Practical Ext JS 4 by Prabhu Sunderaraman

Practical Ext JS 4 by Prabhu Sunderaraman

Author:Prabhu Sunderaraman [Sunderaraman, Prabhu]
Language: eng
Format: epub, pdf
Tags: Computers, Programming Languages, Web, Web Programming, JavaScript
ISBN: 9781430260738
Publisher: Apress
Published: 2013-08-28T04:00:00+00:00


Figure 6-4. Combobox that displays the title of the books

You can create a combobox using the xtype like this.

{

xtype : "combo" ,

store : bookStore,

//...

}

The ComboBox class has a number of config attributes. Let’s discuss some important attributes here.

editable

In the combobox that you just created, you can type in any text you want, as shown in Figure 6-5.

Figure 6-5. Combobox with editable property set to true

You can disable this by setting the editable property to false as shown below.

{

xtype : "combobox",

store : bookStore,

editable : false ,

// ...

}



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.